package com.huanyang.passport.protocol.param;

public class AvatarModifyParam {

    public AvatarModifyParam() {
    }

    /**
     * 头像
     */
    private String avatar;

    private Integer x;

    private Integer y;

    private Integer width;

    private Integer height;

    public AvatarModifyParam(String avatar, Integer x, Integer y, Integer width, Integer height) {
        this.avatar = avatar;
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    @Override
    public String toString() {
        return "AvatarModifyParam{" +
                "avatar='" + avatar + '\'' +
                ", x=" + x +
                ", y=" + y +
                ", width=" + width +
                ", height=" + height +
                '}';
    }
}
